







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Returns the IComparer<T> used to compare items in this set.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
| C# |
|---|
public IComparer<T> Comparer{ get;} |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property Comparer As IComparer(Of T) |
| Visual C++ |
|---|
public: property IComparer<T>^ Comparer { IComparer<T>^ get (); } |
Field Value
If the set was created using a comparer, that comparer is returned. If the set was created using a comparison delegate, then a comparer equivalent to that delegate is returned. Otherwise the default comparer for T (Comparer<T>.Default) is returned.
See Also
OrderedSet<(Of <T>)> Class
Wintellect.PowerCollections Namespace
